/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.hiep;

import java.util.ArrayList;
import java.util.List;

/**
 *
 * @author hiepst
 */
public class Cluster {

    private Crime centroid;
    private List<Crime> members = new ArrayList<Crime>();

    public void add(Crime crime) {
        members.add(crime);
    }

    public Crime getCentroid() {
        return centroid;
    }

    public void setCentroid(Crime centroid) {
        this.centroid = centroid;
    }

    public List<Crime> getMembers() {
        return members;
    }

    public void setMembers(List<Crime> members) {
        this.members = members;
    }
}
